<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.logging.SimpleFormatter"%>
<%@page language="java" import="java.util.*"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>后台管理系统</title>
<meta name="author" content="DeathGhost" />
<link rel="stylesheet" type="text/css"
	href="/xiaorong/resources/css/style.css" />
<script src="/xiaorong/resources/js/jquery.js"></script>
<script src="/xiaorong/resources/js/jquery.mCustomScrollbar.concat.min.js"></script>
<script type="text/javascript" src="/xiaorong/resources/js/jquery.validate.js"></script>
</head>
<body>
	<%
		String exportToExcel = request.getParameter("exportToExcel");
		if (exportToExcel != null
				&& exportToExcel.toString().equalsIgnoreCase("YES")) {
			response.setContentType("application/vnd.ms-excel");
			response.setHeader("Content-Disposition", "inline; filename="
					+ new SimpleDateFormat("yyyyMMddHHmmss").format(new Date()) +".xls");
		}
	%>
	<%
		if (exportToExcel == null) {
	%>
		<p>&nbsp;</p>
		<div class="page_title">
			<h2 class="fl">高风险订单详情页</h2>
			<a class="fr top_rt_btn" href="detail.do?id=${order.id }&exportToExcel=YES">导出</a>
		</div>
	<%
		}
	%>
	<table class="table" border="1" style="width:700px;margin:0 auto;">
		<thead>
			<h1 align="center">高风险订单详情</h1>
		</thead>
		<tr>
			<td style="width:80px;">订单号</td>
			<td style="width:270px;">
				${order.sn}
			</td>
			<td style="width:80px;">报告日期</td>
			<td style="width:270px;">
				${order.reportDate}
			</td>
		</tr>
		<tr>
			<td>订单日期</td>
			<td>
				${order.orderDate }
			</td>
			<td>金额USD</td>
			<td>
				${order.amount}
			</td>
		</tr>
		<tr>
			<td>卡号</td>
			<td>
				${order.cardNo}
			</td>
			<td>持卡人</td>
			<td>
				${order.cardKeeper}
			</td>
		</tr>
		<tr>
			<td>乘机人1</td>
			<td>
				${order.passengerOne}
			</td>
			<td>乘机人2</td>
			<td>
				${order.passengerTwo}
			</td>
		</tr>
		<tr>
			<td>IP国家</td>
			<td>
				${order.ipCountry}
			</td>
			<td>航班日期</td>
			<td>
				${order.flightDate}
			</td>
		</tr>
		<tr>
			<td>航程</td>
			<td>
				${order.voyage}
			</td>
			<td>联系电话</td>
			<td>
				${order.telphone}
			</td>
		</tr>
		<tr>
			<td>邮箱</td>
			<td>
				${order.email}
			</td>
			<td>处理结果</td>
			<td>
				${order.result}
			</td>
		</tr>
		<tr>
			<td>票号</td>
			<td>
				${order.ticketNo}
			</td>
			<td>备注</td>
			<td>
				${order.remark}
			</td>
		</tr>
		<tr>
			<td>拒付原因:</td>
			<td>${order.refuseResult}</td>
			<td>卡种:</td>
			<td>${order.cardSpecies}</td>
		</tr>
		<tr>
			<td>购买者所在国家:</td>
			<td>
				${order.buyerCountry}
			</td>
			<td>风险值:</td>
			<td>
				${order.attribute1}
			</td>
		</tr>
	</table>
</body>
</html>
